package com.demo.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

/**
 * @Program: SpringCloudAlibaba
 * @ClassName NacosConsumerConfig
 * @Author: liutao
 * @Description:
 * @Create: 2023-03-28 21:06
 * @Version 1.0
 **/

@Configuration
public class NacosConsumerConfiguration  {

    @Bean
    public RestTemplate restTemplate(){
        return new RestTemplate();
    }
}
